package com.lian.hope.model.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@Builder
@Schema(description = "动态VO")
public class DynamicVO {
   @Schema(description = "动态id")
    private Long id;
    @Schema(description = "创建该动态的用户id")
    private Long userId;
    @Schema(description = "动态标题")
    private String title;
    @Schema(description = "动态内容")
    private String content;
    @Schema(description = "动态图片url")
    private String imgUrl;
    @Schema(description = "创建时间")
    private LocalDateTime createTime;
    @Schema(description = "点赞数量")
    private Integer likeCount;
    @Schema(description = "用户头像")
    private String userAvatar;
    @Schema(description = "用户昵称")
    private String nickname;

}
